package com.zhuiyun.project.api.video.mobileVideo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * @ClassName MobileVideo
 * @Description 移动端视频实体类
 * @Author qsh
 * @Date 2024/3/6 8:30
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "video")
public class MobileVideo {
    /**
     * 视频主键ID
     */
    private Integer vId;

    /**
     * 视频编号
     */
    private String videoId;

    /**
     * 发布者id
     */
    private Integer userId;

    /**
     * 音频id
     */
    private Integer audioId;

    /**
     * 视频文案
     */
    private String videoDesc;

    /**
     * 话题
     */
    private String videoTopic;

    /**
     * 视频回显ID
     */
    private Integer videoNumber;

    /**
     * 视频秒数
     */
    private Integer videoSeconds;

    /**
     * 视频宽度
     */
    private Integer videoWidth;

    /**
     * 视频高度
     */
    private Integer videoHeight;

    /**
     * 视频封面回显ID
     */
    private Integer coverNumber;

    /**
     * 点赞数
     */
    private Long likeCounts;

    /**
     * 收藏数
     */
    private Long collectCounts;

    /**
     * 评论数
     */
    private Long commentCounts;

    /**
     * 浏览量
     */
    private Long videoViews;

    /**
     * 分享量
     */
    private Long shareVolume;

    /**
     * 下载量
     */
    private Long download;

    /**
     * 视频状态（发布、隐藏
     */
    private String videoStatus;

    /**
     * 视频绑定标识（a：运营，u：用户
     */
    private String identifying;

    /**
     * 视频点赞、收藏标识
     */
    @Transient
    private Integer dzFlag;
}
